function RemoveSign(src,dest,removeentity){
var SourceArr=new Array(0x00E1,0x00E0,0x1EA3,0x00E3,0x1EA1,
								0x00C1,0x00C0,0x1EA2,0x00C3,0x1EA0,
								0x0103,0x1EAF,0x1EB1,0x1EB3,0x1EB5,0x1EB7	,
								0x0102,0x1EAE,0x1EB0,0x1EB2,0x1EB4,0x1EB6,
								0x00E2,0x1EA5,0x1EA7,0x1EA9,0x1EAB,0x1EAD,
								0x00C2,0x1EA4,0x1EA6,0x1EA8,0x1EAA,0x1EAC,
								0x00ED,0x00EC,0x1EC9,0x0129,0x1ECB,
								0x00CD,0x00CC,0x1EC8,0x0128,0x1ECA,
								0x00FD,0x1EF3,0x1EF7,0x1EF9,0x1EF5,
								0x00DD,0x1EF2,0x1EF6,0x1EF8,0x1EF4,
								0x00E9,0x00E8,0x1EBB,0x1EBD,0x1EB9,
								0x00C9,0x00C8,0x1EBA,0x1EBC,0x1EB8,
								0x00EA,0x1EBF,0x1EC1,0x1EC3,0x1EC5,0x1EC7,
								0x00CA,0x1EBE,0x1EC0,0x1EC2,0x1EC4,0x1EC6,
								0x00F3,0x00F2,0x1ECF,0x00F5,0x1ECD,
								0x00D3,0x00D2,0x1ECE,0x00D5,0x1ECC,							
								0x00F4,0x1ED1,0x1ED3,0x1ED5,0x1ED7,0x1ED9,
								0x00D4,0x1ED0,0x1ED2,0x1ED4,0x1ED6,0x1ED8,
								0x01A1,0x1EDB,0x1EDD,0x1EDF,0x1EE1,0x1EE3,
								0x01A0,0x1EDA,0x1EDC,0x1EDE,0x1EE0,0x1EE2,
								0x00FA,0x00F9,0x1EE7,0x0169,0x1EE5,
								0x00DA,0x00D9,0x1EE6,0x0168,0x1EE4,
								0x01B0,0x1EE9,0x1EEB,0x1EED,0x1EEF,0x1EF1,0x0111,
								0x01AF,0x1EE8,0x1EEA,0x1EEC,0x1EEE,0x1EF0,0x0110,
								0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
								0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,
								0x004F,0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,
								0x0056,0x0057,0x0058,0x0059,0x005A
								);
		var DestArr=new Array("a","a","a","a","a",
								"a","a","a","a","a",
								"a","a","a","a","a","a"	,
								"a","a","a","a","a","a",
								"a","a","a","a","a","a",
								"a","a","a","a","a","a",
								"i","i","i","i","i",
								"i","i","i","i","i",
								"y","y","y","y","y",
								"y","y","y","y","y",
								"e","e","e","e","e",
								"e","e","e","e","e",
								"e","e","e","e","e","e",
								"e","e","e","e","e","e",
								"o","o","o","o","o",
								"o","o","o","o","o",					
								"o","o","o","o","o","o",
								"o","o","o","o","o","o",
								"o","o","o","o","o","o",
								"o","o","o","o","o","o",
								"u","u","u","u","u",
								"u","u","u","u","u",
								"u","u","u","u","u","u","d",
								"u","u","u","u","u","u","d",
								"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"
								);
		for(i=0;i<SourceArr.length;i++){
		while(src.indexOf(String.fromCharCode(SourceArr[i]))>=0){
			src=src.replace(String.fromCharCode(SourceArr[i]),DestArr[i]);
			
			}
		}
		var removeformat= new Array("<br>","<ul>","<ol>","<li>","</ul>","</ol>","</li>","<b>","</b>","<i>","</i>","<strong>","</strong>","\n", "\t");		
		for(i=0;i<removeformat.length;i++){
			while(src.indexOf(removeformat[i])>=0){				
				src=src.replace(removeformat[i]," ");				
				}
			}
			
		while(src.indexOf("\"")>0){
			src=src.replace("\"","'");	
		}
		//arrtmp=src.split(' ');
		//src=arrtmp.join(' ')
		while(src.indexOf('\r')>0)
			src=src.replace('\r','');
		while(src.indexOf('\n')>0)	
		src=src.replace('\n','');			
		
		while((i=src.indexOf("  "))>=0)
			while(src.indexOf("  ")>=0){				
					src=src.replace("  "," ");				
					}
		

		var s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890,.-' "
		
		
		
		if(removeentity){
			for(i=0;i<src.length;i++){
			while(s.indexOf(src.charAt(i))<0){				
				src=src.replace(src.charAt(i),'');				
				}
			}
		}
			
		dest.value=src;		
		
		var s1="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 "
		for(i=0;i<src.length;i++){
			while(s1.indexOf(src.charAt(i))<0){				
				src=src.replace(src.charAt(i),'');				
				}
			}
		var keywords=src.split(' ');
		var uniquestring=keywords[0]+"$";
		for(i=1;i<keywords.length;i++){
			if(uniquestring.indexOf(keywords[i])<0)
				uniquestring+=keywords[i]+"$";			
		}
		while(uniquestring.indexOf("$")>=0)
			uniquestring=uniquestring.replace("$"," ");
		
		
		//document.frm.UniqueKeywords.value=uniquestring;	
		document.getElementById("ctl00_ContentPlaceHolder2_txtKeywords").value=uniquestring;
	}
	
	function removeCarriageReturn(srcobj){	
		src=srcobj.value;
		while(src.indexOf('\r')>0)
			src=src.replace('\r','');
		while(src.indexOf('\n')>0)	
		src=src.replace('\n','');				
		srcobj.value=src;	
	}
	/*
		while(src.indexOf('\r')>0){
			src=src.replace('\r','');	
		}
		destobj.value=src;
		*/
	

